﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="LoginControl.ascx.cs" Inherits="Aandelendelen.Controls.LoginControl" %>
<%@ Register Src="ErrorMessageControl.ascx" TagName="ErrorMessageControl" TagPrefix="uc1" %>
<%@ Register src="BannerViewControl.ascx" tagname="BannerViewControl" tagprefix="uc2" %>

<asp:Panel ID="Panel1" runat="server" CssClass="common">
<table border="0" width="100%">
<tr>
<td width="50%"><p class="title">Login</p></td>
<td class="bannerview"><uc2:BannerViewControl ID="BannerViewControl1" runat="server" /></td>
</tr>
</table>
<br />
    <uc1:ErrorMessageControl id="ErrorMessageControl1" runat="server" Visible="false"></uc1:ErrorMessageControl>
	<table>
        <tr>
            <td>
                <asp:Label ID="Label1" runat="server" Text="Gebruikersnaam"></asp:Label></td>
            <td>
                <asp:TextBox ID="tbGebruikersnaam" runat="server"></asp:TextBox></td>
            <td style="width: 165px">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tbGebruikersnaam" CssClass="error" Display="Dynamic">Verplicht veld</asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label10" runat="server" Text="Wachtwoord"></asp:Label></td>
            <td>
                <asp:TextBox ID="tbWachtwoord" runat="server" MaxLength="8" TextMode="Password"></asp:TextBox></td>
            <td style="width: 165px">
                <asp:CustomValidator ID="CustomValidator2" runat="server" Display="Dynamic" ControlToValidate="tbWachtwoord" CssClass="error" ValidateEmptyText="True" OnServerValidate="CustomValidator2_ServerValidate">Wachtwoord is minimaal 6 posities</asp:CustomValidator></td>
        </tr>
        <tr>
            <td></td>
            <td><asp:CheckBox ID="cbIsAdvertiser" runat="server" Text="Log in met mijn adverteerders account." /></td>
        </tr>
        <tr>
			<td></td>
			<td>
				<br />
				<asp:Button ID="Button1" runat="server" Text="Login" />
			</td>
			<td style="width: 265px">
				<asp:Label ID="Label2" runat="server" Text="Wachtwoord vergeten?"></asp:Label>
				<asp:HyperLink ID="HyperLink1" runat="server" CssClass="common" NavigateUrl="~/PasswordForgotten.aspx">Klik hier!</asp:HyperLink></td>   
	    </tr>     
    </table>
</asp:Panel>
